<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="../js/myTool.js"></script>
    <script type="text/javascript" src="../js/move.js"></script>
</head>
<body>

<div id="div" style="width: 40px; height: 40px; background-color: red;position: absolute;"></div>

</body>
</html>
<script>
    startMove(document.getElementById('div'), {
        'width': '500',
        'height': '500'
    }, MOVE_TYPE.FLEX);
</script>